projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fa2a82
)
surface: Stop setting transient-for for popups
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 22 Apr 2019 15:20:47 +0000
(15:20 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 28 May 2019 20:25:14 +0000
(20:25 +0000)
This was just a hack to reuse the existing
infrastructure. Now that we store parents separately,
stop doing it.
gdk/gdksurface.c
patch
|
blob
|
history
diff --git
a/gdk/gdksurface.c
b/gdk/gdksurface.c
index fd254bfd976f12471a9319e04e025f75f117a184..4a977c25d1f58a9b8ae8bdff7db9594da933ce80 100644
(file)
--- a/
gdk/gdksurface.c
+++ b/
gdk/gdksurface.c
@@
-817,9
+817,6
@@
gdk_surface_new_popup (GdkDisplay *display,
surface = gdk_surface_new (display, GDK_SURFACE_POPUP,
parent, 0, 0, 100, 100);
- gdk_surface_set_transient_for (surface, parent);
- gdk_surface_set_type_hint (surface, GDK_SURFACE_TYPE_HINT_MENU);
-
return surface;
}